package org.tinygroup.database.table.dropsql.impl;


import org.tinygroup.database.config.table.Table;

public class MysqlDropTableSqlProcessorImpl extends DropTableSqlProcessorImpl {

    @Override
    public String getLanguageType() {
        return "mysql";
    }

    @Override
    protected String delimiter(String name) {
        return "`" + name + "`";
    }

    @Override
    protected String getSingleDropSql(Table table){
        return "DROP TABLE IF EXISTS "+delimiter(table.getNameWithOutSchema());
    }
}
